package tech.dongling.boot.common.base;

import cn.hutool.json.JSONObject;
import java.util.HashMap;
import java.util.Map;

// 统一HTTP请求模型
public class HttpBizRequest {
    private String path;
    private final Map<String, String> params = new HashMap<>();
    private JSONObject body;
    private final Map<String, byte[]> files = new HashMap<>();

    // getter/setter
    public String getPath() { return path; }
    public void setPath(String path) { this.path = path; }
    public Map<String, String> getParams() { return params; }
    public JSONObject getBody() { return body; }
    public void setBody(JSONObject body) { this.body = body; }
    public Map<String, byte[]> getFiles() { return files; }
}
